<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>blog</title>
	<link rel="stylesheet" href="{hd:$smarty.const.__VIEW__}Index/css/index.css" />
</head>
<body>
	{hd:include file='header.html'}
	<div id="content">
		<div class="main">
			<div class="left">
				<div class="first_blog">
					<h2><a href="?a=blog&cid={hd:$data[d].cid}&bid={hd:$data[d].bid}">{hd:$data.title}</a></h2>
					<div class="con">
					<p class="info">发表于：<b>{hd:$data.addtime|date_format:'%Y-%m-%d'}</b>   <span>
					<script src='?m=Index&c=Index&a=getClick&bid={hd:$data[d].bid}' type='text/javascript'></script>
					</span>  浏览 </p>
					<div class="img">
					<!-- <img src="{hd:$smarty.const.__VIEW__}Index/images/img_1.jpg" alt="" /> -->
					{hd:if $data[d].thumb}
                        <img src="{hd:$smarty.const.__ROOT__}{hd:$data[d].thumb}" alt="" width="613px" height="193px">
                        {hd:else}
                         <img src="{hd:$smarty.const.__ROOT__}Upload/401413967624.jpg" alt="" width="613px" height="193px">
                        {hd:/if}
					</div>
					<p class="artic"> {hd:$data.content} </p>
					</div>
				</div>
				<!-- <div class="first_blog">
					
				</div> -->
			</div>
			<div class="right">
				<div class="hot">
					<h2>热门文章</h2>
					<ul>
				    	{hd:section loop=$hotBlog name=h}
				    	<li><a href="?m=Index&c=Index&a=blog&cid={hd:$hotBlog[h].cid}&bid={hd:$hotBlog[h].bid}" class="title">{hd:$hotBlog[h].title}</a></li>
				    	 {hd:/section}
    				</ul>
				</div>
				<div class="new">
					<h2>最新文章</h2>
					<ul>
						{hd:section loop=$newBlog name=n}
				    	<li><a href="?m=Index&c=Index&a=blog&cid={hd:$newBlog[n].cid}&bid={hd:$newBlog[n].bid}" class="title">{hd:$newBlog[n].title}</a></li>
				    	 {hd:/section}
    				</ul>
				</div>
			</div>
		</div>
	</div>
	<div id="footer">Copyright © 2014 houdunwang.COM  All Rights Reserved. Theme By C40ZengXinDong</div>
</body>
</html>